import Index from '@/views/Index'
const promote = {
    path: '/promote',
    name: 'promote',
    redirect: '/promote/goods',
    component: Index,
    children: [
        {
            path: 'goods',
            component: () => import('@/views/promote/Goods.vue'),
            name: 'promote_goods',
            meta: {
                title: '积分商品',
                auth: true,
                breadcrumb: [{
                    title: '推广管理',
                    path: '/promote'
                }, {
                    title: '积分商品',
                    path: '/promote/goods'
                }]
            }
        }, {
            path: 'lucky',
            component: () => import('@/views/promote/Lucky.vue'),
            name: 'promote_lucky',
            meta: {
                title: '积分抽奖',
                auth: true,
                breadcrumb: [{
                    title: '推广管理',
                    path: '/promote'
                }, {
                    title: '积分抽奖',
                    path: '/promote/lucky'
                }]
            }
        }, {
            path: 'task',
            component: () => import('@/views/promote/Task.vue'),
            name: 'promote_task',
            meta: {
                title: '积分任务',
                auth: true,
                breadcrumb: [{
                    title: '推广管理',
                    path: '/promote'
                }, {
                    title: '积分任务',
                    path: '/promote/task'
                }]
            }
        }
    ]
}
export default promote